cmake_minimum_required(VERSION 2.8)

project(gomoku)

set(EXECUTABLE_OUTPUT_PATH bin)
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Wextra -g -DUNIX")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -UDEBUG -DNDEBUG -DUNIX")
set(CMAKE_BUILD_TYPE "DEBUG")

include_directories(
    "inc"
)

# Main
file(GLOB main_src "src/*.cpp")

list(APPEND core_srcs
    ${main_src}
)

add_executable(gomoku ${core_srcs})
